//
//  UserController.swift
//  CMDB
//
//  Created by 王磊 on 17/4/5.
//  Copyright © 2017年 CMDB. All rights reserved.
//

import UIKit

// 数据回调
public typealias CMDBAccountHandler = (account: CMDBAccountBean) -> ()

public typealias CMDBVCodeHandler = (isVCodePost: Bool,vCodeType: CMDBVCodeType) -> ()

public typealias CMDBPasswordHandler = (isSuccess: Bool/*修改密码 或者 找回密码是否成功*/) -> ()

public typealias CMDBModifyUserInfoHandler = (isSuccess: Bool/*修改个人资料成功*/,type: CMDBModifyUserInfoType) -> ()

public typealias CMDBVerifyPwdHandler = (verifyPwdBean: CMDBVerifyPwdBean) -> ()

public typealias CMDBUserInfoHandler = (userInfo: CMDBUserInfoBean) -> ()

public typealias CMDBVerifyVCodeHandler = (vertifyVCodeBean: CMDBVertifyVCodeBean) -> ()

public typealias CMDBFansListHandler = (fansList: Array<CMDBUserInfoBean>?) -> ()

public typealias CMDBFriedsListHandler = (friendsList: Array<CMDBUserInfoBean>?) -> ()

public typealias CMDBFollowsListHandler = (followsList: Array<CMDBUserInfoBean>?) -> ()

public typealias CMDBLanguageListHandler = (languageList: Array<CMDBLanguageBean>?) -> ()
// MARK: 其他相关的

public let VCode_Length: Int = 6

public let Password_Min_Length: Int = 6

public let Password_Max_Lenght: Int = 18

public let InviteCode_Length: Int = 8

public let Time_Stamp_Length: Int = 10